package com.haiyan.demo.problem02;

public class XiaoZhang extends LaoZhang {
    public XiaoZhang() {
    }

    public XiaoZhang(String name, String sex, int age, String address) {
        super(name, sex, age, address);
    }

    @Override
    public void getMoney() {
        System.out.println("写代码挣钱养家");
    }
}
